﻿using System;
using System.Collections.Generic;
using System.CodeDom.Compiler;
using System.Text;

namespace SWF
{
    public class DefineButtonCxform : ISwfTag
    {
        /*
            ButtonId                UI16    Button ID for this information
            ButtonColorTransform    CXFORM  Character color transform
        */
        public const TagType tagType = TagType.DefineButtonCxform;
        public TagType TagType { get { return tagType; } }

        public uint ButtonId;
        public ColorTransform ButtonColorTransform;

        public DefineButtonCxform(SwfReader r)
        {
            ButtonId = r.GetUI16();
            ButtonColorTransform = new ColorTransform(r, false);
        }
    }
}
